﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainSite.Master" AutoEventWireup="true" CodeBehind="TopPKPIsEmployees.aspx.cs" Inherits="BSCMFF.Web.Pages.Reporting.TopPKPIsEmployees" culture="auto" meta:resourcekey="PageResource1" uiculture="auto" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

<bsc:EvaluationSelection ID="EvalSelection" runat="server"/>
<asp:Label ID="LabelNoPKPIs" runat="server" Text="There is no Personal KPI reward system for selected Evaluation period"
ForeColor="Red" Visible="False" meta:resourcekey="LabelNoPKPIsResource1"></asp:Label>


<asp:Panel ID="PanelRewards" runat="server"  Visible="False" 
        meta:resourcekey="PanelRewardsResource1">
<table>
    <tr>
        <td>
            <asp:Label ID="LabelBonusForPKPIs" runat="server" 
                Text="Bonus for Personal KPIs" 
                meta:resourcekey="LabelBonusForPKPIsResource1"></asp:Label>
        </td>
        <td>
            <telerik:RadNumericTextBox ID="RadNumericTextBoxCurrentBonusForPKPIs" 
                runat="server" Type="Currency" Width="100px"
            Enabled="False" Culture="sk-SK" LabelCssClass="" 
                meta:resourcekey="RadNumericTextBoxCurrentBonusForPKPIsResource1">
            </telerik:RadNumericTextBox>
        </td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="LabelNumberOfEvaluatedEmployees" runat="server" 
                Text="Number Of Evaluated Employees" 
                meta:resourcekey="LabelNumberOfEvaluatedEmployeesResource1"></asp:Label>
        </td>
        <td>
            <telerik:RadNumericTextBox ID="RadNumericTextBoxNumberOfEvaluatedEmployees" 
                runat="server" Width="60px"
            Enabled="False" Culture="sk-SK" LabelCssClass="" 
                meta:resourcekey="RadNumericTextBoxNumberOfEvaluatedEmployeesResource1">
            </telerik:RadNumericTextBox>
        </td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="LabelBonusPerEmployee" runat="server" 
                Text="Bonus Per Employee" 
                meta:resourcekey="LabelBonusPerEmployeeResource1"></asp:Label>
        </td>
        <td>
            <telerik:RadNumericTextBox ID="RadNumericTextBoxBonusPerEmployee" 
                runat="server" Width="60px" Type="Currency"
            Enabled="False" Culture="sk-SK" LabelCssClass="" 
                meta:resourcekey="RadNumericTextBoxBonusPerEmployeeResource1">
            </telerik:RadNumericTextBox>
        </td>
    </tr>
</table>
<br /><br />
<asp:Label ID="LabelPKPIs" runat="server" Text="Personal KPIs" 
        meta:resourcekey="LabelPKPIsResource1" ></asp:Label>
    <telerik:RadGrid ID="RadGridPKPIs" runat="server" AutoGenerateColumns="False" Width="500px"
    onitemdatabound="RadGridPKPIs_ItemDataBound" CellSpacing="0" GridLines="None" 
        meta:resourcekey="RadGridPKPIsResource1">
        <MasterTableView ShowFooter="True">
            <CommandItemSettings ExportToPdfText="Export to PDF" />
            <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
            </RowIndicatorColumn>
            <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column">
            </ExpandCollapseColumn>
            <Columns>
                <telerik:GridBoundColumn DataField="Fullname" 
                    FilterControlAltText="Filter Fullname column" HeaderText="Fullname" 
                    meta:resourcekey="GridBoundColumnResource1" UniqueName="Fullname">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="PKPI" 
                    FilterControlAltText="Filter PKPI column" HeaderText="PKPIs (%)" 
                    meta:resourcekey="GridBoundColumnResource2" UniqueName="PKPI">
                </telerik:GridBoundColumn>
                <telerik:GridTemplateColumn DataField="Bonus" 
                    FilterControlAltText="Filter Bonus column" HeaderText="Bonus" 
                    meta:resourcekey="GridTemplateColumnResource1" UniqueName="Bonus">
                    <FooterTemplate>
                        <telerik:RadNumericTextBox ID="RadNumericTextBoxTotalBonus" runat="server" 
                            Culture="sk-SK" Enabled="False" LabelCssClass="" 
                            meta:resourcekey="RadNumericTextBoxTotalBonusResource1" Type="Currency">
                        </telerik:RadNumericTextBox>
                        <asp:Label ID="LabelTotal" runat="server" 
                            meta:resourcekey="LabelTotalResource1" Text="Total"></asp:Label>
                    </FooterTemplate>
                    <ItemTemplate>
                        <telerik:RadNumericTextBox ID="RadNumericTextBoxBonus" runat="server" 
                            Culture="sk-SK" Enabled="False" LabelCssClass="" 
                            meta:resourcekey="RadNumericTextBoxBonusResource1" Type="Currency" 
                            Value='<%# Eval("Bonus") %>'>
                        </telerik:RadNumericTextBox>
                    </ItemTemplate>
                </telerik:GridTemplateColumn>
            </Columns>
            <EditFormSettings>
                <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                </EditColumn>
            </EditFormSettings>
        </MasterTableView>
        <FilterMenu EnableImageSprites="False">
        </FilterMenu>
        <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default">
        </HeaderContextMenu>
    </telerik:RadGrid>
</asp:Panel>

</asp:Content>
